package com.talkweb.securitycamera.data.hadoopFile;

import ohos.app.Context;

/**
 * @author : frank
 * @date : 2021/2/7 9:51
 */
public class SimpleVideoMemoryPolicy extends BaseMemoryPolicy {

    private static final int VIDEO_DELETE_COUNT = 1;

    @Override
    BaseMediaProcessor getMediaProcessor(Context context) {
        return new SimpleVideoProcessor(context);
    }

    @Override
    int getDeleteCount() {
        return VIDEO_DELETE_COUNT;
    }

    @Override
    public boolean isMemInfoOut() {
        //TODO 判断可用内存是否低于1G
        return false;
    }
}
